from django.contrib import admin
from login.models import SiteUser, ConfirmString

# 后台管理设置的信息
class SiteUserAdmin(admin.ModelAdmin):
    list_display = ['name', 'gender', 'email']
    list_display_links = ['name']
    list_filter = ['gender', 'create_time']
    list_per_page = 10


admin.site.register(SiteUser, SiteUserAdmin)
admin.site.register(ConfirmString)
